package net.mingsoft.basic.dao;

import net.mingsoft.base.dao.*;
import net.mingsoft.basic.entity.*;
import java.util.*;
import org.apache.ibatis.annotations.*;

public interface IModelDao extends IBaseDao<ModelEntity>
{
    List<ModelEntity> queryModelByRoleId(final int roleId);
    
    @Deprecated
    ModelEntity getEntityByModelCode(@Param("modelCode") final String modelCode);
    
    ModelEntity getModel(@Param("modelCodeRegex") final String modelCodeRegex, @Param("modelId") final int modelId);
}
